@extends('backend::layout')
@section('title',$page_title)
@include('backend::component.upload.upload_js')
@section('content')
    @component('backend::cms.message.msg_frame')
        @if($type == 'inbox')
            @slot('inbox_list') active @endslot
        @else
            @slot('outbox_list') active @endslot
        @endif
        @slot('content')
            @if($list->isNotEmpty())
                @includeIf('backend::cms.message.'.$type,['list'=>$list])
            @else
                @component('backend::public.empty_page')
                    @slot('info') 暂时没有留言信息 @endslot
                @endcomponent
            @endif
        @endslot
    @endcomponent
@endsection